home *** CD-ROM | disk | FTP | other *** search
- /*
- File: SampleSBP2Expert.c
-
- Contains: Sample code for SBP-2 Expert
-
- Version: 1.0
-
- Copyright: © 1998 by Apple Computer, Inc., all rights reserved.
-
- File Ownership:
-
- DRI: Eric Anderson
-
- Other Contact:
-
- Technology: FireWire
-
- Writers:
-
- (EA) Eric Anderson (ewa)
-
- Change History (most recent first):
-
- <FW2> 9/20/98 EA Filled in header comments.
- <FW1> 9/20/98 EA first checked in
- */
-
-
- #include <Types.h>
- #include <Errors.h>
- #include <NameRegistry.h>
- #include <DriverServices.h>
- #include <Devices.h>
- #include <CodeFragments.h>
- #include <GenericDriverFamily.h>
- #include <SampleSBP2.h>
- #include <SampleSBP2Priv.h>
- /*zzz*/
- static char debugStr[256];
- /*zzz*/
-
-
- ////////////////////////////////////////////////////////////////////////////////
- //
- // The service descriptor.
- //
-
- GDFServiceDescription TheGDFServiceDescription =
- {
- kGDFServiceDescriptionSignature,
- kInitialGDFServiceDescriptor,
- {
- kNdrvTypeIsSampleSBP2,
- 1, 0, finalStage, 1,
- 0
- },
- {
- 0,
- "\pSampleSBP2",
- { 0, 0, 0, 0, 0, 0, 0, 0 }
- }
- };
-
-
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- //
- // Private routines.
- //
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
-
- ////////////////////////////////////////////////////////////////////////////////
- //
- // GDFExpertEntryPoint
- //
- // This routine installs the sample SBP expert loader.
- //
-
- long GDFExpertEntryPoint(void)
- {
- return ((long) InstallSBPExpert ());
- }
-
-
- ////////////////////////////////////////////////////////////////////////////////
- //
- // SBPExpertTerminate
- //
- // This proc terminates the sample SBP expert loader.
- //
-
- long SBPExpertTerminate()
- {
- return ((long) UninstallSBPExpert ());
- }
-
-
-